<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<spring:hasBindErrors name="command"/>
<form:errors path="command"/>
<form action="boardupdate.do" method="post">
		<input type="hidden" name="sb_num" value="${command.sb_num}">
		
		<spring:message code="write.form.sb_title"/>
		<input type="text" name="sb_title" value="${command.sb_title}">
		<form:errors path="command.sb_title"/>
		<br>
		
		
		<input type="hidden" name="m_id" value="${command.m_id}">${shopboard.m_id}
		<form:errors path="command.m_id"/>
		<br>
		
		<spring:message code="write.form.sb_passwd"/>
		<input type="password" name="sb_passwd">
		<form:errors path="command.sb_passwd"/>
		<br>	

		<spring:message code="write.form.sb_content"/>
		<textarea rows="10" cols="50" name="sb_content">${command.sb_content}</textarea>
		<form:errors path="command.sb_content"/>
		<br>
		
		<input type="submit" value="<spring:message code="write.form.submit"/>">
		<input type="button" value="<spring:message code="list.content.sblist"/>"
																					onclick="location.href='boardlist.do'">
		
</form>
